//存token
export const setToken = (token: string) => {
    sessionStorage.setItem('token', token)
}
//取token
export const getToken = (key: string) => {
    return sessionStorage.getItem(key)
}
//清除token
export const clearToken = () => {
    sessionStorage.clear()
}